cmake_minimum_required(VERSION 3.13)

project(landlord)

set(CMAKE_CXX_STANDARD 17)
SET(CMAKE_CXX_FLAGS_DEBUG "-MTd -Ob0 -Od -RTC1 -D_DEBUG")
SET(CMAKE_CXX_FLAGS_RELEASE  "-MT -Ob2 -O2 -DNDEBUG")

include_directories(3rd/protobuf/include)
include_directories(lib)
include_directories(msg)

link_directories(
    3rd/protobuf/lib
)

ADD_SUBDIRECTORY(msg)
ADD_SUBDIRECTORY(loginserver)
ADD_SUBDIRECTORY(logintest)